<%--User: 24390 Date: 2021/1/17 Time: 22:26--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" isErrorPage="true" %>
<html>
<%--头部文件--%>
<%@include file="/WEB-INF/include-head.jsp" %>

<body>

<%--顶部导航文件--%>
<%@include file="/WEB-INF/include-nav.jsp" %>
<div class="container-fluid">
    <div class="row">
        <%--        sidebar--%>
        <%@include file="/WEB-INF/include-sidebar.jsp" %>
            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                <ol class="breadcrumb">
                    <li><a href="#">首页</a></li>
                    <li><a href="#">数据列表</a></li>
                    <li class="active">修改</li>
                </ol>
                <div class="panel panel-default">
                    <div class="panel-heading">表单数据<div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i class="glyphicon glyphicon-question-sign"></i></div></div>
                    <div class="panel-body">
                        <form action="admin/update" method="post" role="form">
                            <input type="hidden" name="id" value="${requestScope.admin.id}">
                            <input type="hidden" name="pageNum" value="${param.pageNum}">
                            <p style="color: red">${requestScope.exception.message}</p>
                            <div class="form-group">
                                <label for="exampleInputPassword1">登录账号</label>
                                <input name="loginAcct" type="text" class="form-control" id="exampleInputPassword1" value="${requestScope.admin.loginAcct}">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">用户名称</label>
                                <input name="userName" type="text" class="form-control" id="exampleInputPassword2" value="${requestScope.admin.userName}">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputEmail1">邮箱地址</label>
                                <input name="email" type="email" class="form-control" id="exampleInputEmail1" value="${requestScope.admin.email}">
                                <p class="help-block label label-warning">请输入合法的邮箱地址, 格式为： xxxx@xxxx.com</p>
                            </div>
                            <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-edit"></i> 修改</button>
                            <button type="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
                        </form>
                    </div>
                </div>
            </div>
    </div>
</div>

</body>
</html>


